﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Security.Principal;

namespace MDP.WebOpenPortal.Controllers.SSO
{
    public interface IClaimsPrincipal : IPrincipal
    {
        /// <summary>
        /// 客户端代理产生的随机码
        /// </summary>
        string ChallengeNumer { get; set; }
        /// <summary>
        /// 客户端代理的唯一标识符
        /// </summary>
        string SystemCode { get; set; }

        DateTime ClientDate { get; set; }

        /// <summary>
        /// 用户可访问系统的列表
        /// 是否需要
        /// </summary>
        //Dictionary<string, SystemCodeInfo> SystemCodes { get; set; }
        //List<string> SystemCodes { get; set; }

        /// <summary>
        /// 用户基本信息
        /// </summary>
        IClaimsIdentity Identity { get; }
    }
}